﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020010DB RID: 4315
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SceneMonsterWaveParam : IMessage<SceneMonsterWaveParam>, IMessage, IEquatable<SceneMonsterWaveParam>, IDeepCloneable<SceneMonsterWaveParam>, IBufferMessage
	{
		// Token: 0x170036AA RID: 13994
		// (get) Token: 0x0600C10D RID: 49421 RVA: 0x0020A845 File Offset: 0x00208A45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SceneMonsterWaveParam> Parser
		{
			get
			{
				return SceneMonsterWaveParam._parser;
			}
		}

		// Token: 0x170036AB RID: 13995
		// (get) Token: 0x0600C10E RID: 49422 RVA: 0x0020A84C File Offset: 0x00208A4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SceneMonsterWaveParamReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170036AC RID: 13996
		// (get) Token: 0x0600C10F RID: 49423 RVA: 0x0020A85E File Offset: 0x00208A5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SceneMonsterWaveParam.Descriptor;
			}
		}

		// Token: 0x0600C110 RID: 49424 RVA: 0x0020A865 File Offset: 0x00208A65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneMonsterWaveParam()
		{
		}

		// Token: 0x0600C111 RID: 49425 RVA: 0x0020A870 File Offset: 0x00208A70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneMonsterWaveParam(SceneMonsterWaveParam other) : this()
		{
			this.pHLBECLKBHH_ = other.pHLBECLKBHH_;
			this.eliteGroup_ = other.eliteGroup_;
			this.hardLevelGroup_ = other.hardLevelGroup_;
			this.level_ = other.level_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C112 RID: 49426 RVA: 0x0020A8C4 File Offset: 0x00208AC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneMonsterWaveParam Clone()
		{
			return new SceneMonsterWaveParam(this);
		}

		// Token: 0x170036AD RID: 13997
		// (get) Token: 0x0600C113 RID: 49427 RVA: 0x0020A8CC File Offset: 0x00208ACC
		// (set) Token: 0x0600C114 RID: 49428 RVA: 0x0020A8D4 File Offset: 0x00208AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PHLBECLKBHH
		{
			get
			{
				return this.pHLBECLKBHH_;
			}
			set
			{
				this.pHLBECLKBHH_ = value;
			}
		}

		// Token: 0x170036AE RID: 13998
		// (get) Token: 0x0600C115 RID: 49429 RVA: 0x0020A8DD File Offset: 0x00208ADD
		// (set) Token: 0x0600C116 RID: 49430 RVA: 0x0020A8E5 File Offset: 0x00208AE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EliteGroup
		{
			get
			{
				return this.eliteGroup_;
			}
			set
			{
				this.eliteGroup_ = value;
			}
		}

		// Token: 0x170036AF RID: 13999
		// (get) Token: 0x0600C117 RID: 49431 RVA: 0x0020A8EE File Offset: 0x00208AEE
		// (set) Token: 0x0600C118 RID: 49432 RVA: 0x0020A8F6 File Offset: 0x00208AF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HardLevelGroup
		{
			get
			{
				return this.hardLevelGroup_;
			}
			set
			{
				this.hardLevelGroup_ = value;
			}
		}

		// Token: 0x170036B0 RID: 14000
		// (get) Token: 0x0600C119 RID: 49433 RVA: 0x0020A8FF File Offset: 0x00208AFF
		// (set) Token: 0x0600C11A RID: 49434 RVA: 0x0020A907 File Offset: 0x00208B07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x0600C11B RID: 49435 RVA: 0x0020A910 File Offset: 0x00208B10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SceneMonsterWaveParam);
		}

		// Token: 0x0600C11C RID: 49436 RVA: 0x0020A920 File Offset: 0x00208B20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SceneMonsterWaveParam other)
		{
			return other != null && (other == this || (this.PHLBECLKBHH == other.PHLBECLKBHH && this.EliteGroup == other.EliteGroup && this.HardLevelGroup == other.HardLevelGroup && this.Level == other.Level && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C11D RID: 49437 RVA: 0x0020A98C File Offset: 0x00208B8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PHLBECLKBHH != 0U)
			{
				num ^= this.PHLBECLKBHH.GetHashCode();
			}
			if (this.EliteGroup != 0U)
			{
				num ^= this.EliteGroup.GetHashCode();
			}
			if (this.HardLevelGroup != 0U)
			{
				num ^= this.HardLevelGroup.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C11E RID: 49438 RVA: 0x0020AA16 File Offset: 0x00208C16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C11F RID: 49439 RVA: 0x0020AA1E File Offset: 0x00208C1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C120 RID: 49440 RVA: 0x0020AA28 File Offset: 0x00208C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EliteGroup != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.EliteGroup);
			}
			if (this.PHLBECLKBHH != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.PHLBECLKBHH);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Level);
			}
			if (this.HardLevelGroup != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.HardLevelGroup);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C121 RID: 49441 RVA: 0x0020AABC File Offset: 0x00208CBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PHLBECLKBHH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PHLBECLKBHH);
			}
			if (this.EliteGroup != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EliteGroup);
			}
			if (this.HardLevelGroup != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HardLevelGroup);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C122 RID: 49442 RVA: 0x0020AB44 File Offset: 0x00208D44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SceneMonsterWaveParam other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PHLBECLKBHH != 0U)
			{
				this.PHLBECLKBHH = other.PHLBECLKBHH;
			}
			if (other.EliteGroup != 0U)
			{
				this.EliteGroup = other.EliteGroup;
			}
			if (other.HardLevelGroup != 0U)
			{
				this.HardLevelGroup = other.HardLevelGroup;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C123 RID: 49443 RVA: 0x0020ABBC File Offset: 0x00208DBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C124 RID: 49444 RVA: 0x0020ABC8 File Offset: 0x00208DC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 16U)
					{
						this.EliteGroup = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.PHLBECLKBHH = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.Level = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.HardLevelGroup = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004E00 RID: 19968
		private static readonly MessageParser<SceneMonsterWaveParam> _parser = new MessageParser<SceneMonsterWaveParam>(() => new SceneMonsterWaveParam());

		// Token: 0x04004E01 RID: 19969
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004E02 RID: 19970
		public const int PHLBECLKBHHFieldNumber = 5;

		// Token: 0x04004E03 RID: 19971
		private uint pHLBECLKBHH_;

		// Token: 0x04004E04 RID: 19972
		public const int EliteGroupFieldNumber = 2;

		// Token: 0x04004E05 RID: 19973
		private uint eliteGroup_;

		// Token: 0x04004E06 RID: 19974
		public const int HardLevelGroupFieldNumber = 13;

		// Token: 0x04004E07 RID: 19975
		private uint hardLevelGroup_;

		// Token: 0x04004E08 RID: 19976
		public const int LevelFieldNumber = 12;

		// Token: 0x04004E09 RID: 19977
		private uint level_;
	}
}
